const APIS_PARTY_MANAGE = {
    // 党员列表
    PARTERLIST: {
        url: '/parties/list',
        method: 'post'
    },

    // 新增党员
    APPENDPARTER: {
        url: '/parties',
        method: 'post'
    },

    // 编辑党员列表
    EDITPARTER: {
        url: '/parties',
        method: 'put'
    },

    //左侧树筛选
    TREELIST: (id) => ({
        url: `/orgs/tree/${id}`,
        method: 'get'
    }),

    // 党员删除
    DELETEPARTER: (id) => ({
        url: `/parties/${id}`,
        method: 'delete'
    })
};

export default APIS_PARTY_MANAGE;